﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using brevis.Nop.SDK.ReportDataGetter;

namespace brevis.Nop.SDK.Entity
{
    [Serializable]
    public class NopReportDataGetter
    {
        [XmlAttribute("Key")]
        public string Key { get; set; }

        [XmlAttribute("DataGetterType")]
        public string DataGetterType { get; set; }

        [XmlArray("GetMethodAttributes")]
        [XmlArrayItem("GetMethodAttribute")]
        public List<MethodAttribute> GetMethodAttribute { get; set; }

        [XmlIgnore]
        public IReportDataGetter DataGetterInstance { get; set; }
    }
}
